<template>
  <div>
    <el-card :body-style="{ padding: '5px' }" shadow="hover">
      <el-container style="height:120px">
        <el-container>
          <el-header style="height: 40px">
            <div class="user">
              <div class="avatar">
                <el-avatar
                  src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
                ></el-avatar>
              </div>
              <div class="name"><span>1111</span></div>
            </div>
          </el-header>
          <el-main style="height: 40px" ><p class="ellipsis">{{msg.demDesc}}</p></el-main>
          <el-footer style="height: 20px" >{{msg.issueTime}}</el-footer>
        </el-container>
        <el-aside width="250px">
          <el-button>接单</el-button>
          <el-button type="warning" icon="el-icon-star-off" circle></el-button>
          <el-button type="primary" icon="el-icon-share" circle></el-button>
        </el-aside>
      </el-container>
    </el-card>
  </div>
</template>

<script>
export default {
  props: {
    msg: {}
  },
  data() {
    return {};
  },
  mounted() {},
  methods: {}
};
</script>

<style lang="scss" rel="stylesheet/scss" scoped>
.el-main {
  background-color: #fff;
  color: #606266;
  text-align: left;
}

.el-header {
  background-color: #fff;
  color: #333;
  text-align: left;

  .user {
    display: flex;
    align-items: center;
  }
}

.el-footer {
  background-color: #fff;
  color: #c0c4cc;
  text-align: left;
  display: flex;
  align-items: center;
}

.el-aside {
  background-color: #fff;
  color: #333;
  text-align: center;
  display: flex;
  align-items: center;
}
</style>
